package com.zqx.mediator.specificcomponent;

import com.zqx.mediator.abstractcomponent.Component;

/**
 * descripion: 具体同事类
 * @author zqx
 * @date 2018/09/04
 */
public class TextBox extends Component {
    @Override
    public void update() {
        System.out.println("客户信息增加成功后文本框清空");
    }

    public void setText(){
        System.out.println("文本框显示：张玉娜");
    }
}
